﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListGroup.ascx.cs" Inherits="Baiviet_ListGroup" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<link rel="Stylesheet" media="screen" type="text/css" href="../styles.css" />

<!--script-->
<script type="text/javascript">

function processGroup(maTv,maBv)
{ 

var answer = confirm ("Chắc chắn xóa người này khỏi nhóm chat ? ");
if (!answer) return;


if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }   
  xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
        alert('Đã xóa');  
    }
  }
    xmlhttp.open("POST","Baiviet/XulyGroup.aspx",true);
    xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlhttp.send("maTv="+maTv+"&maBv="+maBv);
   
}

</script>
<!-- end script -->
<div id="div_DSGroup" runat="server">
</div>